*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.container{
    width: 50%;
    margin: auto;
}
.header{
    width: 94%;
    margin: auto;
}
.clearfix:after,
.clearfix:before{
    display: block;
    content: "";
    clear: both;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
/*header部分*/
.logo,.ul{
    display: flex;
}
.logo{
    float:left;
}
.nav{
    float: right;
}
.header-inner{
    opacity: 1;
    font-size: 12px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(23,106,178,.5);
    box-shadow: 0 0 10px #ccc;
    z-index: 100;
}
.logo img{
    display: block;
    width: 65px;
    height: 65px;
    border-radius: 50%;
}
.logo-right{
    text-align: center;
    color: #fff;
    padding-left: 20px;
    padding-top: 8px;
}
.logo span{
    display: block;
    padding-top: 4px;
}
.logo p{
    border-bottom: 1px solid #fff;
    padding: 5px 10px;
}
.logo{
    padding: 4px 0;
}
.ul li{
    margin: 27px 12px 0 12px;
    position: relative;
}
.ul li:hover:before{
    left: 0;
    width: 100%;
}
.ul li:before{
    content: "";
    width: 0;
    border-bottom: 3px solid red;
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: all linear 0.3s;
}
.ul a:hover{
    transition: all linear 0.3s;
}
.ul li a{
    display: block;
    color: #fff;
    padding-bottom: 27px;
}
#btn1{
    position: relative;
}
#btn1 a{
    border-bottom: 3px solid red;
}
/*main部分*/
body{
    background: url("../img/bg.jpg");
    background-size: 100% 100%;
    text-align: center;
}
/*main-first部分*/
.main-first{
    background: url("../img/banner.jpg")no-repeat;
    background-size: 100% 100%;
    height: 100vh;
    color: #fff;
    padding-top: 150px;
}
.first-1{
    position: relative;
    width: 150px;
    height: 150px;
}
.first-1 img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px #ffffff solid;
    float: left;
    position: absolute;
    bottom: -10px;
    left: 320px;
}
.img-2{
    opacity: 0;
}
.first-1:hover .img-2{
    opacity: 1;
    transition: 0.3s linear;
}
.first-1:hover .img-1{
    opacity: 0;
    transition: 0.3s linear;
}
.first-2{
    padding-top: 36px;
}
.first-2 p{
    display: inline-block;
    padding: 10px 20px;
    border-bottom: 1px #fff solid;
}
.first-3 p{
    font-size: 12px;
}
.first-3 p:nth-child(1){
    padding: 33px 0 20px 0;
}
.first-3 p:nth-child(3){
    padding: 19px 0 20px 0;
}
.first-3 p:nth-child(4){
    padding-bottom: 22px;
}
/*main-about部分*/
.main-about{
    padding-top: 150px;
}
.about-2{
    width: 50%;
    margin: auto;
}
.about-3{
    width: 60%;
    margin: auto;
}
.about-1 h2{
    display: inline-block;
    padding: 10px 40px;
    border-bottom: 2px red solid;
}
.about-1 p{
    color: red;
    padding-top: 10px;
    font-weight: bold;
    font-size: 12px;
}
.about-2{
    margin-top: 52px;
    background-color: #a0a0b4;
    padding: 18px 70px 8px 70px;
    border-radius: 24px;
}
.about-2 ul{
    width: 100%;
}
.about-2 ul li{
    float: left;
    width: 25%;
    padding: 0 6%;
}
.in-1{
    position: relative;
    width: 90px;
    height: 90px;
    margin: 10px auto 5px;
}
.in-hover,.in{
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}
.in-hover{
    display: inline-block;
    opacity: 0;
    width: 77px;
    height: 77px;
    border: 8px solid #ccc;
    background: #fff;
}
.in{
    display: inline-block;
    width: 77px;
    height: 77px;
    border: 4px #fff solid;
    transition: all 0.3s linear;
}
.in-1 img{
    width: 60px;
    height: 60px;
    z-index: 100;
    transition: all 0.3s linear;
    border-radius: 50%;
    position: absolute;
    left: 8px;
    top: 12px
}
.about-2 ul li:hover .in-hover{
    opacity: 1;
    transition: all 0.3s linear;
}
.in-2{
    padding-bottom: 10px;
    width: 90px;
}
.in-2 span{
    color: #fff;
    font-size: 14px;
    display: block;
}
.in-2 span:nth-child(2){
    height: 2px;
    background: #ccc;
    transform: rotate(-25deg);
}
.in-2 span:nth-child(1){
    text-align: left;
}
.in-2 span:nth-child(3){
     text-align: right;
 }
.about-3{
    margin-top: 50px;
    color: #383838;
    font-size: 14px;
}
.about-3 p{
    padding-bottom: 13px;
}
.about-3 p:nth-child(3){
    padding-top: 22px;
}
.about-3 p:nth-child(5){
    padding-bottom: 30px;
}
.about-3 span{
    position: absolute;
    display: inline-block;
    width: 50px;
    height: 50px;
}
.about-3{
    position: relative;
}
.about-3 span:nth-child(1){
    border-top: 2px solid #5686D6;
    border-left: 2px solid #5686D6;
    top: 0;
    left: 0;
}
.about-3 span:nth-child(2){
    border-bottom: 2px solid #5686D6;
    border-right: 2px solid #5686D6;
    bottom: 0;
    right: 0;
}
/*main-skill部分*/
.main-skill{
    width: 65%;
    margin: auto;
    padding-top: 150px;
    padding-bottom: 200px;
}
.skill-2 p{
    font-size: 12px;
    font-family: 微软雅黑;
}
.skill-2 p{
    padding-top: 40px;
}
.skill-2 p span{
    display: block;
    padding-top: 20px;
}
.skill-3{
    padding-top: 44px;
}
.skill-3 ul li{
    float: left;
    width: 25%;
}
.skill-top a{
    display: block;
}
.skill-top a img{
     transition: all 0.4s linear;
 }
.skill-top a img:hover{
    transform: scale(1.2);
}
.skill-3 span{
    display: block;
    width: 100px;
    margin: auto;
    text-align: left;
    padding-left: 10px;
    padding-top: 10px;
}
.skill-top span{
    padding-bottom: 20px;
}
.skill-top i{
    display: block;
}
.skill-top i img{
    transition: all 0.4s linear;
}
.skill-bottom{
    background-color: #c9c6e1;
    border-radius: 10px;
    padding: 20px 16px;
    width: 352px;
    position: absolute;
    display: none;
    transition: all 0.2s linear;
    margin-top: 4px;
}
.skill-bottom p{
    font-size: 12px;
    font-family: 微软雅黑;
    text-align: left;
}
.skill-bottom p:nth-child(2){
    padding: 14px 0;
}
.skill-bottom p:nth-child(3){
    padding-bottom: 14px;
}
/*main-major部分*/
.main-major{
    width: 70%;
    margin: auto;
    padding-top: 150px;
}
.major-1 ul li{
    width: 100%;
}
.major-1 ul li,.m-1,.m-2,.m-1 .m-top,.m-1 .m-border,.m-b,.m-bo,.bo-1
,.bo-2,.bo-3,.bo-4,.bo-5,.bo-6,.bo-7{
    float: left;
}
.m-1,.m-2{
    width: 50%;
}
.major-1{
    padding-top: 52px;
}
.major-1 span{
    display: block;
}
.m-1{
    padding: 8px 0;
}
.m-top{
    width: 25%;
}
.m-border,.m-b,.m-bo,.bo-1,.bo-2,.bo-3,.bo-4,.bo-5,.bo-6,.bo-7{
    width: 75%;
}
.m-top span{
    padding-right: 32px;
    text-align: right;
    font-size: 14px;
}
.m-border,.m-b,.m-bo,.bo-1,.bo-2,.bo-3,.bo-4,.bo-5,.bo-6,.bo-7{
    padding-right: 46px;
}
.m-border span{
    width: 95%;
    background: rgb(128, 0, 128);
}
.m-border span,.m-b span,.m-bo span,.bo-1 span,.bo-2 span,.bo-3 span,.bo-4 span,.bo-5 span,.bo-6 span,.bo-7 span{
    text-align: center;
    border-radius: 4px;
    height: 24px;
    color: #fff;
    font-size: 13px;
    padding-top: 3px;
}
.m-2 p{
    height: 40px;
    padding-left: 8%;
    text-align: left;
    font-size: 13px;
    font-family: Arial;
    border-left: 2px red solid;
}
.te-1,.te-2,.te-3,.te-4,.te-5,.te-6,.te-7,.te-8{
    padding-top: 2px;
}
.m-b span{
    width: 90%;
    background: blue;
}
.m-bo span{
    width: 70%;
    background-color: #8b4513;
}
.bo-1 span{
    width: 85%;
    background-color: #fe4500;
}
.bo-2 span{
    width: 50%;
    background-color: #008000;
}
.bo-3 span{
    width: 75%;
    background-color: #8b0000;
}
.bo-4 span{
    width: 80%;
    background-color: #000000;
}
.bo-5 span{
    width: 70%;
    background-color: #d3cb43;
}
.bo-6 span{
    width: 30%;
    background-color: #706e45;
}
/*main-works部分*/
.main-works{
    width: 70%;
    padding-top: 150px;
    margin: auto;
    padding-bottom: 60px;
}
.works-1{
    width: 100%;
}
.wo-1,.wo-2,.wo-3,.wo-4{
    width: 45%;
    height: 200px;
    float: left;
    background-color: rgba(204, 204, 204, 0.84);
    text-align: left;
    padding: 10px 10px 0 25px;
    transition: all 0.4s linear;
}
.wo-1:hover,.wo-2:hover,.wo-3:hover,.wo-4:hover{
    -webkit-box-shadow: #ccc 5px 10px 10px 3px;
    -moz-box-shadow: #ccc 5px 10px 10px 3px;
    box-shadow: #ccc 5px 10px 10px 3px;
}
.wo-1,.wo-2{
    margin-bottom: 20px;
}
.wo-1,.wo-3{
    margin-right: 100px;
}
.wo-3,.wo-4{
    margin-top: 20px;
}
.works-1 h3{
    margin-bottom: 8px;
}
.works-1 img{
    background-color: #fff;
    display: block;
    padding: 4px 60px;
    margin-top: 5px;
}
.works-1 p{
    padding: 4px 0;
    font-size: 14px;
}
.wo-1-1{
    height: 110px;
}
.main-works .about-1{
    padding-bottom: 50px;
}
/*main-contact部分*/
.main-contact{
    text-align: center;
    padding-top: 150px;
}
.con{
    padding-top: 28px;
}
.con h1{
    font-weight: 400;
    font-size: 30px;
}
.con-1{
    font-size: 26px;
    padding-top: 24px;
}
.con-1 span:nth-child(1){
    color: #fd1e1e;
}
.con-1 span:nth-child(2){
    color: #3dcdfe;
}
.con-1 span:nth-child(3){
    color: #66cc00;
}
.con-1 span:nth-child(4){
    color: #fe6633;
}
.con-2{
    padding-top: 58px;
    padding-bottom: 50px;
}
.con-2 p{
    color: #6a6a6a;
    font-size: 12px;
    font-family: 微软雅黑;
    padding-bottom: 21px;
}
/*main-last部分*/
.footer{
    border-top: 2px solid #cccccc;
    padding: 18px 0;
    font-size: 14px;
    color: #666666;
    text-align: center;
}
.footer a{
    display: inline-block;
    color: #666666;
}
/*尾页*/
.dian a{
    display: block;
    background-color: #d7d7d7;
    opacity: 0.6;
    width: 16px;
    height: 16px;
    margin: 10px;
    border-radius: 50%;
}
.dian .active{
    background-color: #545454;
}
.dian{
    position: fixed;
    right: 1%;
    top: 50%;
}
@media (max-width:600px) {
    .logo img{
        display: none;
    }
    .logo,.nav{
          float: none;
      }
    .logo,.ul{
        display: block;
    }
    .ul li a{
        padding-bottom: 10px;
    }
    .ul,.nav{
        width: 100%;
    }
    #btn1 a{
        border-bottom: none;
    }
    .ul li{
        margin: 8px 0 6px 0;
        width: 33%;
        float: left;
    }
    .header-inner,.dian{
      position: inherit;
    }
    .logo-right{
        padding-left: 0;
    }
    .main-first,.major-1 ul li{
        padding-bottom: 20px;
    }
    .about-2 ul li,.skill-3 ul li{
        width: 100%;
    }
    .skill-3 ul li{
        padding-bottom: 230px;
    }
    .container,.about-2,.main-skill,.main-major{
        width: 90%;
    }
    .about-3 span:nth-child(1){
        left: -22%;
    }
    .about-3 span:nth-child(2){
        right: -22%;
    }
    .skill-bottom,.m-1,.m-2,.wo-1,.wo-2,.wo-3,.wo-4{
        width: 100%;
    }
    .wo-1-1,.main-first,.wo-1,.wo-2,.wo-3,.wo-4{
        height: 100%;
    }
    .main-skill{
        padding-bottom: 0;
    }
    .main-major,.main-works,.main-contact{
        padding-top: 0;
    }
    .m-2 p{
        padding-left: 0;
        border-left: none;
    }
    .works-1 img{
        margin-bottom: 20px;
    }
    .first-1 img{
        left: 50%;
    }
    .main-first{
        padding-top: 50px;
    }
    .in-2{
        width: 100%;
    }


}







